.class public Les/kf;
.super Ljava/lang/Object;
.source "FilterUtils.java"


# static fields
.field private static a:Ljava/util/Comparator;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Comparator<",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;>;"
        }
    .end annotation
.end field


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .line 1
    new-instance v0, Les/kf$a;

    invoke-direct {v0}, Les/kf$a;-><init>()V

    sput-object v0, Les/kf;->a:Ljava/util/Comparator;

    return-void
.end method

.method public static a(Les/qf;)Les/jg;
    .locals 2

    if-nez p0, :cond_0

    .line 12
    new-instance p0, Les/jg;

    invoke-direct {p0}, Les/jg;-><init>()V

    return-object p0

    .line 13
    :cond_0
    invoke-virtual {p0}, Les/qf;->d()Les/jg;

    move-result-object p0

    .line 14
    invoke-virtual {p0}, Les/jg;->f()Ljava/util/List;

    move-result-object v0

    .line 15
    sget-object v1, Les/kf;->a:Ljava/util/Comparator;

    invoke-static {v0, v1}, Ljava/util/Collections;->sort(Ljava/util/List;Ljava/util/Comparator;)V

    return-object p0
.end method

.method public static a(Les/nf;I)Les/tf;
    .locals 6

    if-nez p0, :cond_0

    .line 1
    new-instance p0, Les/tf;

    invoke-direct {p0}, Les/tf;-><init>()V

    return-object p0

    .line 2
    :cond_0
    invoke-virtual {p0, p1}, Les/nf;->a(I)Les/nf$b;

    move-result-object p0

    .line 3
    iget p1, p0, Les/nf$b;->b:I

    if-nez p1, :cond_1

    .line 4
    new-instance p0, Les/tf;

    invoke-direct {p0}, Les/tf;-><init>()V

    return-object p0

    .line 5
    :cond_1
    new-instance v1, Ljava/util/ArrayList;

    iget-object p1, p0, Les/nf$b;->a:Ljava/util/List;

    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result p1

    invoke-direct {v1, p1}, Ljava/util/ArrayList;-><init>(I)V

    .line 6
    iget-object p1, p0, Les/nf$b;->a:Ljava/util/List;

    monitor-enter p1

    .line 7
    :try_start_0
    iget-object v0, p0, Les/nf$b;->a:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_2

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Les/hg;

    .line 8
    invoke-interface {v2}, Les/eg;->b()Lcom/estrongs/fs/g;

    move-result-object v2

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 9
    :cond_2
    monitor-exit p1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 10
    new-instance p1, Les/tf;

    const/4 v2, 0x0

    iget v3, p0, Les/nf$b;->b:I

    iget-wide v4, p0, Les/nf$b;->c:J

    move-object v0, p1

    invoke-direct/range {v0 .. v5}, Les/tf;-><init>(Ljava/util/List;IIJ)V

    return-object p1

    :catchall_0
    move-exception p0

    .line 11
    :try_start_1
    monitor-exit p1
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    goto :goto_2

    :goto_1
    throw p0

    :goto_2
    goto :goto_1
.end method
